package com.zlp.design;

public class FactoryMain {

	public static void main(String[] args) {
		int i = 3;
		exectorTarger(i);
       /* if (1 == i ) {
        	 System.out.println("j==i\t"+i);
		}else if (2 == i ) {
			 System.out.println("j==i\t"+i);
		}else if (3 == i ) {
			 System.out.println("j==i\t"+i);
		}else if (4 == i ) {
			 System.out.println("j==i\t"+i);
		}else if (5 == i ) {
			 System.out.println("j==i\t"+i);
		}*/
	}
	
	public static void exectorTarger(int i){
		
		ExectorMath exectorMath = new ExectorMath();
		TargerExector exectorTarger = exectorMath.exectorTarger(i);
		exectorTarger.process(i);
		
		
	}

}
